package com.company.lagou.homework;

import java.util.Scanner;
public class expand {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] arr1 = new int[10];
        for(int i = 1; i < 9; i++){
            System.out.println("请输入第" + i + "个数字：");
            arr1[i] = sc.nextInt();
        }
        int[] extended = new int[25];
        for(int i = 9; i < arr1.length; i++){
            System.out.println("请输入第" + i + "个数字：");
            arr1[i] = sc.nextInt();
        }


    }
}
